// src/snake-score/snake-score.module.ts
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Score } from './entities/score.entity'; // 引入 Score 实体类
import { SnakeScoreService } from './snake-score.service'; // 引入 SnakeScoreService
import { SnakeScoreController } from './snake-score.controller'; // 引入 SnakeScoreController

@Module({
  imports: [TypeOrmModule.forFeature([Score])], // 注册 Score 实体类
  providers: [SnakeScoreService],
  controllers: [SnakeScoreController],
})
export class SnakeScoreModule {}
